package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcSanitationServiceBindMapper;
import com.csun.cmny.provider.model.domain.OmcSanitationServiceBind;
import com.csun.cmny.provider.service.OmcSanitationServiceBindService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.LinkedList;

@Slf4j
@Service
@Transactional
public class OmcSanitationServiceBindServiceImpl extends BaseService<OmcSanitationServiceBind> implements OmcSanitationServiceBindService {

    @Resource
    private OmcSanitationServiceBindMapper sanitationServiceBindMapper;

    @Override
    public int saveBinds(LinkedList<OmcSanitationServiceBind> binds) {
        return sanitationServiceBindMapper.saveBinds(binds);
    }
}
